SftTree/OCX 7.0

SftTreeRowHeader.SelectForeColor Property

Softel vdm, Inc.

Defines the row header's foreground color when the item is selected.

Syntax       

 

Get

VB.NET

Clr = object.SelectForeColor  As UIntegerLanguage-specific information

VB

Clr = object.SelectForeColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.SelectForeColor;

VC++

OLE_COLOR Clr = object->SelectForeColor;
OLE_COLOR Clr = object->GetSelectForeColor();

C

HRESULT object->get_SelectForeColor(OLE_COLOR* Clr);

Delphi

Clr := object.SelectForeColor  : Cardinal;

Put

VB.NET

object.SelectForeColor = Clr  As UIntegerLanguage-specific information

VB

object.SelectForeColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.SelectForeColor = Clr;

VC++

OLE_COLOR object->SelectForeColor = Clr;
void object->PutSelectForeColor(OLE_COLOR Clr);

C

HRESULT object->put_SelectForeColor(OLE_COLOR Clr);

Delphi

object.SelectForeColor := Clr  : Cardinal;

object

A SftTreeRowHeader object.

Clr

Defines the row header's foreground color when the item is selected.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The SelectForeColor property defines the row header's foreground color when the item is selected.

The row header has the foreground color attribute Clr.  This color is used as foreground color when the item is selected.  If the item is not selected, the RowHeader.ForeColor property is used instead.

When updating this property and the specified color Clr is the same value as the color currently defined using RowHeaders.SelectForeColor, the value -1 is saved, indicating that there is no defined color and default colors are used.

This property has no effect if Windows themes are used. The RowHeader.OverrideTheme property can be used to override Windows themes so defined colors are used instead.

See Also  SftTreeRowHeader Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com